package com.application.service;

import com.application.controller.Result;
import com.application.domain.Activity;
import com.application.domain.Community;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ActivityService extends IService<Activity> {


    int saveActivity(Activity activity);

    //删除操作
    int deleteById(String id);

    int deleteByIds(List<String> ids);

    int deleteAll();

    //修改操作
    int updateByIdActivity(Activity activity);

    //查询操作
    Activity selectById(String id);

    List<Activity> selectByIds(List<String> ids);

    List<Activity> selectAll();

    int DownLoad(Activity activity);

    List<Activity> selectByName(String name);

    List<Activity> getAllByCommunityName(String name);

    String getCommunityByName(String name);

    List<Activity> getBySchool(String school);

    List<Activity> getByLikeclick();

    Result updateCommunity(Activity activity);
}
